package com.rc.web.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.rc.pojo.dto.knowLedgvideo.KnowLedgeVideoAddDTO;
import com.rc.pojo.dto.knowLedgvideo.KnowLedgeVideoUpdateDTO;
import com.rc.pojo.dto.knowLedgvideo.KnowledgeVideoPageQuery;
import com.rc.pojo.po.KnowledgeVideo;
import com.rc.pojo.vo.knowledgevideo.KnowledgeVideoPageVO;
import com.rc.pojo.vo.knowledgevideo.KnowledgeVideoVO;

import java.util.List;

/**
 *  服务层。
 *
 * @author 27806
 * @since 2024-07-01
 */
public interface KnowledgeVideoService extends IService<KnowledgeVideo> {

    List<KnowledgeVideoVO> getListByIllIds(List<Long> illIds);

    Page<KnowledgeVideoPageVO> getPage(KnowledgeVideoPageQuery query);

    void deleteById(Long id);

    void add(KnowLedgeVideoAddDTO dto);

    void updateOneById(KnowLedgeVideoUpdateDTO dto);

    KnowledgeVideoVO getOneById(Long id);

    List<KnowledgeVideoVO> getByIllId(Long illId);
}
